package com.zjmzxfzhl.modules.purchase.service;

import com.zjmzxfzhl.modules.purchase.controller.vo.MonthlyStatVo;
import com.zjmzxfzhl.modules.purchase.controller.vo.ProjectStatVo;
import com.zjmzxfzhl.modules.purchase.controller.vo.StatTotalVo;
import com.zjmzxfzhl.modules.purchase.controller.vo.SupplierStatVo;

import java.util.List;

/**
 * Service
 *
 * @author yangjf
 */
public interface PurchaseGeneralstatService {

    /**
     * 统计基本信息
     * @param startDate
     * @param endDate
     * @return
     */
    StatTotalVo statTotal(String startDate, String endDate);

    /**
     * 统计供应商
     * @param startDate
     * @param endDate
     * @return
     */
    List<SupplierStatVo> statSupplier(String startDate, String endDate);

    /**
     * 统计项目
     * @param startDate
     * @param endDate
     * @return
     */
    List<ProjectStatVo> statProject(String startDate, String endDate);

    /**
     * 按月统计采购量
     * @param startDate
     * @param endDate
     * @return
     */
    List<MonthlyStatVo> statPurchaseMonthly(String startDate, String endDate);
}
